package com.taru.university.mapper;


import com.taru.university.model.Datas;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Component("dataMapper")
public interface DataMapper {
    /**
     * 查询数据
     * @param dateBatchNumber
     * @return
     */
    List<Datas> queryDataByBatchNumber(String dateBatchNumber);

    /**
     * 插入数据
     * @param data
     */
    void insertData(Datas data);

    /**
     * 删除数据
     * @param dateBatchNumber
     */
    void deleteData(String dateBatchNumber);
}
